from pyecharts.charts import Line

from pyecharts import options
data=["广西","武汉","北京","上海","天津"]
data1=[200,456,876,577,490]
data2=[2200,3456,2876,1577,1490]
line=Line()
line.add_xaxis(data)
line.add_yaxis("人数1",data1,is_smooth=True)
line.add_yaxis("人数2",data2,is_smooth=True)
#markline_opts=options.MarkLineOpts(data=options.MarkLineOpts)
line.render("折线图.html")
